projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d9a4a6
)
Fix cetus time conversion. Use mkgmtime() instead of mktime().
author
oliskoli
<oliskoli>
Sun, 3 Sep 2006 18:41:19 +0000
(18:41 +0000)
committer
oliskoli
<oliskoli>
Sun, 3 Sep 2006 18:41:19 +0000
(18:41 +0000)
cetus.c
patch
|
blob
|
history
diff --git
a/cetus.c
b/cetus.c
index 28042607c9f8f5e5003d797b70bb83c033ab8a93..406824e02cfa6b85a7d1f2913d16e83006786923 100644
(file)
--- a/
cetus.c
+++ b/
cetus.c
@@
-249,7
+249,7
@@
read_tracks(const struct pdb *pdb)
tm.tm_mday = head->day;
tm.tm_mon = head->month - 1;
tm.tm_year = head->year + 100;
- basetime = mktime(&tm);
+ basetime = mk
gm
time(&tm);
break;
case 1: /* first part of description */
@@
-345,7
+345,7
@@
read_waypts(const struct pdb *pdb)
tm.tm_mon = rec->mon - 1;
tm.tm_year = be_read16(&rec->year) - 1900;
- wpt_tmp->creation_time = mktime(&tm);
+ wpt_tmp->creation_time = mk
gm
time(&tm);
}